<?php

namespace App\Http\Requests\Api\v1;


class IncomeRequest extends FormRequest
{
    public function rules(): array
    {
        ;
        return [
            'type' => 'in:-1,'.join(',',array_keys(trans('validation.account_type'))),
            //'date' => 'date|after:2019-12|before:tomorrow',
            'page' => 'required|numeric|min:1',
            'limit' => 'required|numeric|min:1',
        ];
    }
}
